package org.qiaice.context;

import io.jsonwebtoken.Claims;

public class BaseContext {

    private static final ThreadLocal<Claims> context = new ThreadLocal<>();

    public static void setContext(Claims context) {
        BaseContext.context.set(context);
    }

    public static Claims getContext() {
        return BaseContext.context.get();
    }
}
